package a.info {

public class WhiteBoardPageInfo {
	public function WhiteBoardPageInfo() {
	}

    public var pageNum:int = 0;
    public var shapeInfoActions:Array = new Array(); // ShapeInfoAction

    public function addShapeInfoAction(shapeInfoAction:ShapeInfoAction):void {
        shapeInfoActions.push(shapeInfoAction)
    }

    public function getShapeInfoActions():Array {
        return shapeInfoActions;
    }

    public function refresh():void {
        // refresh the data action
    }
    
    public function generateID():String {
    	var str:String = "page_" + pageNum + "_shape_" + shapeIDIdx;   
    	shapeIDIdx = shapeIDIdx + 1;
    	
    	return str;
    }
    
    private var shapeIDIdx:Number = 0;    
}
}